package com.cn.zpark.listener;

import javax.servlet.ServletRequestEvent;
import javax.servlet.ServletRequestListener;

/**
 * @PackageName: com.cn.zpark.listener
 * @ClassName: RequestInitDestroyListener
 * @Description:
 * @author: RZS
 * @date: 2022/4/15  9:18
 */
public class RequestInitDestroyListener implements ServletRequestListener {
    @Override
    public void requestDestroyed(ServletRequestEvent sre) {
        System.out.println("request对象被销毁");
    }

    @Override
    public void requestInitialized(ServletRequestEvent sre) {
        System.out.println("request对象创建成功");
    }
}
